STEP 14: If the random number is 3, let's have the computer choose "scissors" and cause a scissors sprite to appear.

  • Go to . Drag an if block not indented into the bottom of your program.
  • Replace the test variable with random_choice. Test if it's equal to 3.
  • Click GRAPHICS, then go to . Drag Scissors indented into the if block.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)